package com.net.base;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;

/**
 * 基础的http请求实体
 * 
 * @author Administrator
 *
 * @param <T>
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class BaseRequest <T>{
	
	/**
	 * app请求类型
	 */
	private String appCode;
	/**
	 * 签名
	 */
	private String sign;
	/**
	 * 接口版本
	 */
	private String version;
	/**
	 * 封装的响应数据
	 */
	private T body;
	
	public String getAppCode() {
		return appCode;
	}

	public void setAppCode(String appCode) {
		this.appCode = appCode;
	}

	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	
	public T getBody() {
		return body;
	}
	
	public void setBody(T body) {
		this.body = body;
	}
	
}
